package com.ctshk.rpc.order.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 订单中心巴士门票--取消订单入参
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-26
 */
@Data
@ApiModel(value="TrainCancelOrderReq请求对象", description="订单中心巴士门票--取消订单")
public class TrainCancelOrderReq implements Serializable {
    private static final long serialVersionUID = -1L;

    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @NotNull(message = "取消原因不能为空")
    @ApiModelProperty(value = "取消原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Valid
    @ApiModelProperty(value = "退款记录")
    private List<TrainOrderRefundCancelReq> trainOrderRefundCancelReqList;

}
